//
// Created by denglibin on 2021/4/11 0011.
//
#include "load.h"

/**
 * 加载游戏 资源
 */
 void gameLoad(Game* game){
    loadBg(game);
    loadSpirit(game);
}

 void  loadBg(Game* game){

    Background * bg = BG_createBg("D:\\CLionProjects\\sdl2_demo\\resources\\jungle.png",
                                  game->gameWindow);
    game->bg = bg;
}

 void loadSpirit(Game* game){
    game->spirit = SP_crateSpirit("D:\\CLionProjects\\sdl2_demo\\resources\\BillRizer.png",game->gameWindow );
}